package org.megha.blog.example.concurrency;

/**
 * A trivial example of a {@link Thread} that runs a given {@link Runnable}.
 * 
 * @author megha birmiwal
 */
public class RunnableThreadExample {

	public static class MyRunnable implements Runnable {
		@Override
		public void run() {
			System.out.println("in run...");
		}
	}
	
	public static void main(String args[]) {
		Runnable r = new MyRunnable();
		Thread thread = new Thread(r);
		thread.start();
	}
}
